﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Mode
{
    //用户表
    public class User
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        //用户名
        public string Name { get; set; }
        //密码
        public string Password { get; set; }
        //权限 0 = 管理员， 1 = 仓库操作员
        public int Role {  get; set; }
        // 插入时间
        public string InsertDate { get; set; }
    }
}
